# Northern Ireland Census 2021: Home-ownership by Religion

**Raw data**
`ni-census21-hh_tenure_agg7+hh_religion.csv` — extracted from the NISRA Census 2021 Flexible Table Builder on 19 Jun 2025. 
It cross‑tabs household tenure (7-category aggregate) with “Religion or religion brought up in” (13 categories).

**Code**
`make_table.py` reproduces Table 1 in Laffey (2025) by filtering owner‑occupied rows and aggregating Catholic vs Protestant/Other‑Christian groups. 
Running the script outputs `ownership_rates_2021.csv`.

**How to run**
```bash
python make_table.py
```

**License**
Data: © Crown copyright, Open Government Licence v3.0  
Code: MIT